﻿<?xml version="1.0" encoding="utf-8" ?>

<scope
	xmlns="http://metalx.org/Program"
	xmlns:cpu="http://metalx.org/Intel/80386/Operators"
	xmlns:op="http://metalx.org/Intel/80386/Operands"
	xmlns:task="http://metalx.org/i386/Functions/TaskManager"
	xmlns:pic="http://metalx.org/Pc/Pic/Ports"
	xmlns:cmd="http://metalx.org/Pc/Pic/Commands"
	xmlns:imm="http://metalx.org/Intel/80386/Immediate"
	xmlns:inc="http://metalx.org/Intel/80386/Increment"
	xmlns:logic="http://metalx.org/Intel/80386/Logic"
	xmlns:math="http://metalx.org/Intel/80386/Math">

	<task:Next/>

	<!--<cpu:PushAXToStack/>-->

	<!--<cpu:IncrementFunction8/>
		<inc:IncrementImmediateAddress/>
		<hex>000b8f98</hex>-->

	<!--Update Interrupt Counts On Screen-->
	<!--<cpu:PushAllRegistersToStack/>

	<cpu:CopyImmediateToSI/>
	<hex>00001000</hex>

	<cpu:CopyImmediateToDI/>
	<hex>000b8000</hex>

	<cpu:CopyImmediateToCX/>
	<int>80</int>

	<label id="nextInterrupt"/>

	<cpu:CopySIAddressToDIAddressAndIncrementSIAndDI8/>

	<cpu:IncrementDI/>

	<cpu:LoopToRelative8/>
	<addressOf ref="nextInterrupt" type="Relative8"/>

	<cpu:PullAllRegistersFromStack/>-->

	<cpu:PushAXToStack/>

	<cpu:CopyImmediateToAL/>
	<cmd:EndOfInterrupt/>

	<cpu:WriteALToImmediate8Port/>
	<pic:MasterCommand/>

	<cpu:PullAXFromStack/>

	<cpu:ReturnFromInterrupt/>
</scope>